package com.ocom.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.vo.ugcapi.GzhUserInfo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ModifyPersonInfoRequest implements Serializable {
    private static final long serialVersionUID = -4373931205333063167L;
    @JsonProperty("pId")
    private Long pId;
    private Long comId;
//    private Long deptId;
//    @JsonProperty("pCode")
//    private String pCode;
    @JsonProperty("pName")
    private String pName;
//    @JsonProperty("pPwd")
//    private String pPwd;
    @JsonProperty("pSex")
    private Integer pSex;
    @JsonProperty("pType")
    private Long pType;
    @JsonProperty("pPhone")
    private String pPhone;
    @JsonProperty("pIdentity")
    private String pIdentity;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonProperty("pBorn")
    private Date pBorn;
    @JsonProperty("pAddress")
    private String pAddress;
//    @JsonProperty("pPhotoUrl")
//    private String pPhotoUrl;
//    @JsonProperty("pPhotoUrl2")
//    private String pPhotoUrl2;
//    @JsonProperty("status")
//    private Integer status;
//    @JsonProperty("deptName")
//    private String deptName;
//    @JsonProperty("encryIdentity")
//    private String encryIdentity;
//    @JsonProperty("encryPhone")
//    private String encryPhone;

//    @JsonProperty("pTags")
//    private String pTags;


    private GzhUserInfo userInfo;

}
